package com.aiwiown.face.domain.params;

/**
 * <pre>
 * </pre>
 * LivenessType
 * Date: 2020/5/25 0025
 * Time: 10:54
 *
 * @author tang.xiaosheng@qq.com
 */
public enum LivenessType implements ApiEnumParam {

    /**
     * 活体验证流程的选择
     */
    MEGLIVE("meglive", "动作活体"),
    STILL("still", "静默活体"),
    FLASH("flash", "炫彩活体，通过打光进行活体验证，炫彩活体相较于静默活体安全性更高，但通过率会略有降低。"),
    RAW_IMAGE("raw_image", "不进行活体验证，仅使用上传的图片进行后续的比对");


    private String paramValue;
    private String paramExplain;

    LivenessType(String paramValue, String paramExplain) {
        this.paramValue = paramValue;
        this.paramExplain = paramExplain;
    }

    @Override
    public String getParamValue() {
        return this.paramValue;
    }

    @Override
    public String getParamExplain() {
        return this.paramExplain;
    }
}
